.class public Lcom/estrongs/android/ui/view/DragListAdapter;
.super Landroidx/recyclerview/widget/RecyclerView$Adapter;
.source "DragListAdapter.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;
    }
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Landroidx/recyclerview/widget/RecyclerView$Adapter<",
        "Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;",
        ">;"
    }
.end annotation


# instance fields
.field private a:Z

.field private b:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Ljava/lang/Integer;",
            ">;"
        }
    .end annotation
.end field

.field private c:Landroid/os/Handler;

.field private d:Les/to;

.field private e:Landroid/content/Context;

.field private f:I

.field private g:Les/so;

.field private h:Z

.field i:Les/ro;

.field j:Lcom/estrongs/android/ui/theme/b;

.field private k:Landroidx/recyclerview/widget/ItemTouchHelper;


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/os/Handler;)V
    .locals 2

    .line 1
    invoke-direct {p0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput-boolean v0, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->a:Z

    const/4 v1, -0x1

    .line 3
    iput v1, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->f:I

    const/4 v1, 0x0

    .line 4
    iput-object v1, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->g:Les/so;

    .line 5
    iput-boolean v0, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->h:Z

    .line 6
    iput-object v1, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->i:Les/ro;

    .line 7
    iput-object p1, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->e:Landroid/content/Context;

    .line 8
    iput-object p2, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->c:Landroid/os/Handler;

    .line 9
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->j:Lcom/estrongs/android/ui/theme/b;

    .line 10
    invoke-direct {p0}, Lcom/estrongs/android/ui/view/DragListAdapter;->h()V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/ui/view/DragListAdapter;)Landroid/os/Handler;
    .locals 0

    .line 2
    iget-object p0, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->c:Landroid/os/Handler;

    return-object p0
.end method

.method static synthetic a(Lcom/estrongs/android/ui/view/DragListAdapter;Les/so;)Ljava/lang/String;
    .locals 0

    .line 1
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/view/DragListAdapter;->a(Les/so;)Ljava/lang/String;

    move-result-object p0

    return-object p0
.end method

.method private a(Les/so;)Ljava/lang/String;
    .locals 2

    .line 3
    iget-object v0, p1, Les/so;->f:Ljava/lang/String;

    if-eqz v0, :cond_0

    goto :goto_0

    :cond_0
    const-string v0, ""

    .line 4
    :goto_0
    iget-object p1, p1, Les/so;->g:Ljava/lang/String;

    if-nez p1, :cond_1

    .line 5
    new-instance p1, Ljava/lang/StringBuilder;

    invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v0, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->e:Landroid/content/Context;

    const v1, 0x7f110165

    invoke-virtual {v0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    :cond_1
    return-object v0
.end method

.method static synthetic b(Lcom/estrongs/android/ui/view/DragListAdapter;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->a:Z

    return p0
.end method

.method static synthetic c(Lcom/estrongs/android/ui/view/DragListAdapter;)Ljava/util/List;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->b:Ljava/util/List;

    return-object p0
.end method

.method static synthetic d(Lcom/estrongs/android/ui/view/DragListAdapter;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->f:I

    return p0
.end method

.method static synthetic e(Lcom/estrongs/android/ui/view/DragListAdapter;)Landroidx/recyclerview/widget/ItemTouchHelper;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->k:Landroidx/recyclerview/widget/ItemTouchHelper;

    return-object p0
.end method

.method private h()V
    .locals 1

    .line 1
    new-instance v0, Lcom/estrongs/android/ui/view/DragListAdapter$a;

    invoke-direct {v0, p0}, Lcom/estrongs/android/ui/view/DragListAdapter$a;-><init>(Lcom/estrongs/android/ui/view/DragListAdapter;)V

    iput-object v0, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->i:Les/ro;

    return-void
.end method


# virtual methods
.method public a()Les/to;
    .locals 1

    .line 6
    iget-object v0, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->d:Les/to;

    return-object v0
.end method

.method public a(IZZ)V
    .locals 2

    .line 9
    iput p1, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->f:I

    .line 10
    iget-object p2, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->d:Les/to;

    const/4 v0, 0x0

    if-eqz p2, :cond_1

    .line 11
    invoke-virtual {p2}, Les/to;->d()Ljava/util/List;

    move-result-object p2

    const/4 v1, -0x1

    if-eq p1, v1, :cond_0

    .line 12
    invoke-interface {p2}, Ljava/util/List;->size()I

    move-result v1

    if-le v1, p1, :cond_0

    .line 13
    invoke-interface {p2, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Les/so;

    iput-object p1, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->g:Les/so;

    goto :goto_0

    .line 14
    :cond_0
    iput-object v0, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->g:Les/so;

    goto :goto_0

    .line 15
    :cond_1
    iput-object v0, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->g:Les/so;

    .line 16
    :goto_0
    iput-boolean p3, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->h:Z

    return-void
.end method

.method public a(Landroidx/recyclerview/widget/ItemTouchHelper;)V
    .locals 0

    .line 70
    iput-object p1, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->k:Landroidx/recyclerview/widget/ItemTouchHelper;

    return-void
.end method

.method public a(Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;I)V
    .locals 8

    .line 26
    invoke-virtual {p0, p2}, Lcom/estrongs/android/ui/view/DragListAdapter;->getItem(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Les/so;

    .line 27
    iget-object v1, p1, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;

    invoke-virtual {v1, v0}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    .line 28
    iget-object v1, p1, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/view/View;->setVisibility(I)V

    .line 29
    iget-object v1, p1, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;

    const v3, 0x7f090913

    invoke-virtual {v1, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    .line 30
    iget-wide v3, v0, Les/so;->d:J

    const-wide/16 v5, 0x1

    add-long/2addr v3, v5

    invoke-static {v3, v4}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 31
    invoke-virtual {v0}, Les/so;->c()Z

    move-result v3

    const-string v4, ""

    if-eqz v3, :cond_2

    .line 32
    iget-object v3, p1, Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;->a:Landroid/widget/TextView;

    iget-object v5, v0, Les/so;->e:Ljava/lang/String;

    if-eqz v5, :cond_1

    invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_0

    goto :goto_0

    .line 33
    :cond_0
    iget-object v4, v0, Les/so;->e:Ljava/lang/String;

    goto :goto_1

    .line 34
    :cond_1
    :goto_0
    iget-object v4, v0, Les/so;->b:Ljava/lang/String;

    .line 35
    invoke-static {v4}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    .line 36
    :goto_1
    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 37
    iget-object v3, p1, Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;->b:Landroid/widget/TextView;

    invoke-direct {p0, v0}, Lcom/estrongs/android/ui/view/DragListAdapter;->a(Les/so;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 38
    iget-object v3, p1, Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;->c:Landroid/widget/TextView;

    invoke-virtual {v0}, Les/so;->a()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_2

    .line 39
    :cond_2
    iget-object v3, p1, Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;->a:Landroid/widget/TextView;

    iget-object v5, v0, Les/so;->b:Ljava/lang/String;

    invoke-static {v5}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v3, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 40
    iget-object v3, p1, Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;->b:Landroid/widget/TextView;

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 41
    iget-object v3, p1, Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;->c:Landroid/widget/TextView;

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 42
    iget-object v3, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->i:Les/ro;

    iget-object v4, p1, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;

    invoke-virtual {v3, p2, v0, v4}, Les/ro;->a(ILes/so;Landroid/view/View;)V

    .line 43
    :goto_2
    iget-boolean v3, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->a:Z

    const/4 v4, 0x1

    const/16 v5, 0x8

    if-eqz v3, :cond_4

    .line 44
    iget-object v3, p1, Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;->e:Landroid/widget/CheckBox;

    invoke-virtual {v3, v2}, Landroid/widget/CheckBox;->setVisibility(I)V

    .line 45
    iget-object v3, p1, Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;->f:Landroid/widget/ImageView;

    invoke-virtual {v3, v5}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 46
    invoke-virtual {p0, p2}, Lcom/estrongs/android/ui/view/DragListAdapter;->d(I)Z

    move-result v3

    if-eqz v3, :cond_3

    .line 47
    iget-object v3, p1, Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;->e:Landroid/widget/CheckBox;

    invoke-virtual {v3, v4}, Landroid/widget/CheckBox;->setChecked(Z)V

    goto :goto_3

    .line 48
    :cond_3
    iget-object v3, p1, Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;->e:Landroid/widget/CheckBox;

    invoke-virtual {v3, v2}, Landroid/widget/CheckBox;->setChecked(Z)V

    goto :goto_3

    .line 49
    :cond_4
    iget-object v3, p1, Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;->e:Landroid/widget/CheckBox;

    invoke-virtual {v3, v5}, Landroid/widget/CheckBox;->setVisibility(I)V

    .line 50
    iget-object v3, p1, Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;->f:Landroid/widget/ImageView;

    invoke-virtual {v3, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 51
    :goto_3
    iget-object v3, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->g:Les/so;

    const v6, 0x7f060320

    if-ne v3, v0, :cond_6

    .line 52
    iget-object v0, p1, Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;->a:Landroid/widget/TextView;

    iget-object v3, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->j:Lcom/estrongs/android/ui/theme/b;

    const v7, 0x7f060285

    invoke-virtual {v3, v7}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result v3

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setTextColor(I)V

    .line 53
    iget-object v0, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->j:Lcom/estrongs/android/ui/theme/b;

    invoke-virtual {v0, v7}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result v0

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setTextColor(I)V

    .line 54
    iget-object v0, p1, Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;->b:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->j:Lcom/estrongs/android/ui/theme/b;

    const v3, 0x7f060286

    invoke-virtual {v1, v3}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    .line 55
    iget-object v0, p1, Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;->c:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->j:Lcom/estrongs/android/ui/theme/b;

    invoke-virtual {v1, v6}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    .line 56
    iget-boolean v0, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->h:Z

    if-eqz v0, :cond_5

    .line 57
    iget-object v0, p1, Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;->d:Landroid/widget/ProgressBar;

    invoke-virtual {v0, v2}, Landroid/widget/ProgressBar;->setVisibility(I)V

    goto :goto_4

    .line 58
    :cond_5
    iget-object v0, p1, Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;->d:Landroid/widget/ProgressBar;

    invoke-virtual {v0, v5}, Landroid/widget/ProgressBar;->setVisibility(I)V

    goto :goto_4

    .line 59
    :cond_6
    iget-object v0, p1, Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;->a:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->j:Lcom/estrongs/android/ui/theme/b;

    invoke-virtual {v2, v6}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result v2

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setTextColor(I)V

    .line 60
    iget-object v0, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->j:Lcom/estrongs/android/ui/theme/b;

    invoke-virtual {v0, v6}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result v0

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setTextColor(I)V

    .line 61
    iget-object v0, p1, Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;->b:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->j:Lcom/estrongs/android/ui/theme/b;

    const v2, 0x7f0600d4

    invoke-virtual {v1, v2}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    .line 62
    iget-object v0, p1, Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;->c:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->j:Lcom/estrongs/android/ui/theme/b;

    invoke-virtual {v1, v6}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    .line 63
    iget-object v0, p1, Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;->d:Landroid/widget/ProgressBar;

    invoke-virtual {v0, v5}, Landroid/widget/ProgressBar;->setVisibility(I)V

    .line 64
    :goto_4
    iget-object v0, p1, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;

    invoke-virtual {v0, v4}, Landroid/view/View;->setFocusable(Z)V

    .line 65
    iget-object v0, p1, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;

    new-instance v1, Lcom/estrongs/android/ui/view/DragListAdapter$b;

    invoke-direct {v1, p0, p2}, Lcom/estrongs/android/ui/view/DragListAdapter$b;-><init>(Lcom/estrongs/android/ui/view/DragListAdapter;I)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 66
    iget-object p2, p1, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;

    new-instance v0, Lcom/estrongs/android/ui/view/DragListAdapter$c;

    invoke-direct {v0, p0}, Lcom/estrongs/android/ui/view/DragListAdapter$c;-><init>(Lcom/estrongs/android/ui/view/DragListAdapter;)V

    invoke-virtual {p2, v0}, Landroid/view/View;->setOnLongClickListener(Landroid/view/View$OnLongClickListener;)V

    .line 67
    iget-object p2, p1, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;

    const v0, 0x7f090347

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p2

    .line 68
    new-instance v0, Lcom/estrongs/android/ui/view/DragListAdapter$d;

    invoke-direct {v0, p0, p1}, Lcom/estrongs/android/ui/view/DragListAdapter$d;-><init>(Lcom/estrongs/android/ui/view/DragListAdapter;Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;)V

    invoke-virtual {p2, v0}, Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    .line 69
    iget-object p2, p1, Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;->f:Landroid/widget/ImageView;

    new-instance v0, Lcom/estrongs/android/ui/view/DragListAdapter$e;

    invoke-direct {v0, p0, p1}, Lcom/estrongs/android/ui/view/DragListAdapter$e;-><init>(Lcom/estrongs/android/ui/view/DragListAdapter;Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;)V

    invoke-virtual {p2, v0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method public a(Les/to;)V
    .locals 0

    .line 7
    iput-object p1, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->d:Les/to;

    .line 8
    invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyDataSetChanged()V

    return-void
.end method

.method public a(Z)V
    .locals 1

    .line 17
    iget-boolean v0, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->a:Z

    if-eq v0, p1, :cond_2

    .line 18
    iput-boolean p1, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->a:Z

    if-eqz p1, :cond_1

    .line 19
    iget-object p1, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->b:Ljava/util/List;

    if-nez p1, :cond_0

    .line 20
    new-instance p1, Ljava/util/LinkedList;

    invoke-direct {p1}, Ljava/util/LinkedList;-><init>()V

    iput-object p1, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->b:Ljava/util/List;

    goto :goto_0

    .line 21
    :cond_0
    invoke-interface {p1}, Ljava/util/List;->clear()V

    goto :goto_0

    .line 22
    :cond_1
    iget-object p1, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->b:Ljava/util/List;

    invoke-interface {p1}, Ljava/util/List;->clear()V

    .line 23
    :goto_0
    iget-object p1, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->c:Landroid/os/Handler;

    const v0, 0x124f81

    invoke-virtual {p1, v0}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    .line 24
    invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyDataSetChanged()V

    :cond_2
    return-void
.end method

.method protected a(Les/ro$b;)Z
    .locals 1

    .line 25
    iget-boolean v0, p1, Les/ro$b;->c:Z

    if-eqz v0, :cond_1

    iget-object v0, p1, Les/ro$b;->b:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p1, Les/ro$b;->a:Les/so;

    iget-object p1, p1, Les/ro$b;->b:Landroid/view/View;

    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object p1

    if-ne v0, p1, :cond_1

    :cond_0
    const/4 p1, 0x1

    goto :goto_0

    :cond_1
    const/4 p1, 0x0

    :goto_0
    return p1
.end method

.method protected b()[I
    .locals 6

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->b:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    const/4 v1, 0x2

    if-lt v0, v1, :cond_3

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->b:Ljava/util/List;

    const/4 v2, 0x0

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    .line 4
    iget-object v3, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->b:Ljava/util/List;

    invoke-interface {v3, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/Integer;

    invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I

    move-result v3

    .line 5
    iget-object v4, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->b:Ljava/util/List;

    invoke-interface {v4}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v4

    :cond_0
    :goto_0
    invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z

    move-result v5

    if-eqz v5, :cond_2

    invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Ljava/lang/Integer;

    invoke-virtual {v5}, Ljava/lang/Integer;->intValue()I

    move-result v5

    if-le v0, v5, :cond_1

    move v0, v5

    goto :goto_0

    :cond_1
    if-ge v3, v5, :cond_0

    move v3, v5

    goto :goto_0

    :cond_2
    new-array v1, v1, [I

    aput v0, v1, v2

    const/4 v0, 0x1

    aput v3, v1, v0

    return-object v1

    :cond_3
    const/4 v0, 0x0

    return-object v0
.end method

.method public c()Ljava/util/List;
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Les/so;",
            ">;"
        }
    .end annotation

    .line 2
    new-instance v0, Ljava/util/LinkedList;

    invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V

    .line 3
    iget-object v1, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->b:Ljava/util/List;

    invoke-static {v1}, Ljava/util/Collections;->sort(Ljava/util/List;)V

    .line 4
    iget-object v1, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->b:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_0

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/Integer;

    invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I

    move-result v2

    .line 5
    invoke-virtual {p0, v2}, Lcom/estrongs/android/ui/view/DragListAdapter;->getItem(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Les/so;

    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    :cond_0
    return-object v0
.end method

.method public d()Z
    .locals 1

    .line 2
    iget-boolean v0, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->a:Z

    return v0
.end method

.method public d(I)Z
    .locals 1

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->b:Ljava/util/List;

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    invoke-interface {v0, p1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result p1

    return p1
.end method

.method public e()V
    .locals 4

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->b:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    .line 3
    invoke-virtual {p0}, Lcom/estrongs/android/ui/view/DragListAdapter;->getItemCount()I

    move-result v0

    const/4 v1, 0x0

    :goto_0
    if-ge v1, v0, :cond_0

    .line 4
    iget-object v2, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->b:Ljava/util/List;

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    invoke-interface {v2, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    .line 5
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->c:Landroid/os/Handler;

    const v1, 0x124f82

    invoke-virtual {v0, v1}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    .line 6
    invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyDataSetChanged()V

    return-void
.end method

.method public f()V
    .locals 4

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/android/ui/view/DragListAdapter;->b()[I

    move-result-object v0

    if-eqz v0, :cond_1

    .line 2
    iget-object v1, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->b:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->clear()V

    const/4 v1, 0x0

    .line 3
    aget v1, v0, v1

    :goto_0
    const/4 v2, 0x1

    aget v2, v0, v2

    if-gt v1, v2, :cond_0

    .line 4
    iget-object v2, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->b:Ljava/util/List;

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    invoke-interface {v2, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    .line 5
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->c:Landroid/os/Handler;

    const v1, 0x124f82

    invoke-virtual {v0, v1}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    .line 6
    invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyDataSetChanged()V

    :cond_1
    return-void
.end method

.method public g()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->b:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->c:Landroid/os/Handler;

    const v1, 0x124f82

    invoke-virtual {v0, v1}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    .line 3
    invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyDataSetChanged()V

    return-void
.end method

.method public getItem(I)Ljava/lang/Object;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->d:Les/to;

    if-eqz v0, :cond_0

    if-ltz p1, :cond_0

    invoke-virtual {v0}, Les/to;->d()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge p1, v0, :cond_0

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->d:Les/to;

    invoke-virtual {v0}, Les/to;->d()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    return-object p1

    :cond_0
    const/4 p1, 0x0

    return-object p1
.end method

.method public getItemCount()I
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->d:Les/to;

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Les/to;->d()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0
.end method

.method public getItemId(I)J
    .locals 2

    int-to-long v0, p1

    return-wide v0
.end method

.method public bridge synthetic onBindViewHolder(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)V
    .locals 0

    .line 1
    check-cast p1, Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;

    invoke-virtual {p0, p1, p2}, Lcom/estrongs/android/ui/view/DragListAdapter;->a(Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;I)V

    return-void
.end method

.method public bridge synthetic onCreateViewHolder(Landroid/view/ViewGroup;I)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
    .locals 0

    .line 1
    invoke-virtual {p0, p1, p2}, Lcom/estrongs/android/ui/view/DragListAdapter;->onCreateViewHolder(Landroid/view/ViewGroup;I)Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;

    move-result-object p1

    return-object p1
.end method

.method public onCreateViewHolder(Landroid/view/ViewGroup;I)Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;
    .locals 2

    .line 2
    iget-object p2, p0, Lcom/estrongs/android/ui/view/DragListAdapter;->e:Landroid/content/Context;

    invoke-static {p2}, Lcom/estrongs/android/pop/esclasses/h;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object p2

    const v0, 0x7f0c0076

    const/4 v1, 0x0

    invoke-virtual {p2, v0, p1, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object p1

    .line 3
    new-instance p2, Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;

    invoke-direct {p2, p1}, Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;-><init>(Landroid/view/View;)V

    const v1, 0x7f090ba1

    .line 4
    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p2, Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;->a:Landroid/widget/TextView;

    const v1, 0x7f0902a6

    .line 5
    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p2, Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;->b:Landroid/widget/TextView;

    const v1, 0x7f090ad9

    .line 6
    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p2, Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;->c:Landroid/widget/TextView;

    const v1, 0x7f09071c

    .line 7
    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ProgressBar;

    iput-object v1, p2, Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;->d:Landroid/widget/ProgressBar;

    const v1, 0x7f090207

    .line 8
    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/CheckBox;

    iput-object v1, p2, Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;->e:Landroid/widget/CheckBox;

    const v1, 0x7f0901b4

    .line 9
    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, p2, Lcom/estrongs/android/ui/view/DragListAdapter$AudioViewHolder;->f:Landroid/widget/ImageView;

    .line 10
    invoke-virtual {p1, v0, p2}, Landroid/view/View;->setTag(ILjava/lang/Object;)V

    return-object p2
.end method
